local ____lualib = require("lualib_bundle")
local __TS__Class = ____lualib.__TS__Class
local __TS__SourceMapTraceBack = ____lualib.__TS__SourceMapTraceBack
__TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["6"] = 4,["7"] = 4,["8"] = 4,["9"] = 7,["10"] = 7,["11"] = 8,["12"] = 7,["13"] = 14,["14"] = 15,["15"] = 14,["16"] = 21,["17"] = 22,["18"] = 21});
local ____exports = {}
____exports.default = __TS__Class()
local KRect = ____exports.default
KRect.name = "KRect"
function KRect.prototype.____constructor(self, id)
    self.id = id
    self.handle = gameapi.get_rec_area_by_res_id(self.id)
end
function KRect.prototype.center(self)
    return gameapi.get_rec_center_point(self.handle)
end
function KRect.prototype.random(self)
    return gameapi.get_random_point_in_rec_area(self.handle)
end
return ____exports
